package com.climber.android.component.webview.mvp.model

import com.climber.android.component.webview.mvp.contract.BaseWebContract
import io.ganguo.library.mvp.ui.mvp.BaseModel
import io.ganguo.library.mvp.ui.mvp.di.scope.ActivityScope
import io.ganguo.library.mvp.ui.mvp.integration.IRepositoryManager
import io.ganguo.library.mvp.util.ToastHelper
import javax.inject.Inject

/**
 * Created by Mikes at 2019/5/5 11:34 AM
 * 展示 Model 的用法
 * eg : 网络请求获取数据，提供给 Presenter
 */

@ActivityScope
class BaseWebModel @Inject
constructor(repositoryManager: IRepositoryManager) : BaseModel(repositoryManager),
    BaseWebContract.Model {
    override fun printTest(){
        ToastHelper.toastMessage("HaHa Test")
    }
}

